package cn.springbak.publish.easytest;

import cn.springbak.publish.Service.SysNoticeService;
import cn.springbak.publish.pojo.SysNotice;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class test {

    @Autowired
    private SysNoticeService sysNoticeService;

    private static final Logger log = LoggerFactory.getLogger(test.class);

    @Test
    void testone(){
        SysNotice sysNotice = new SysNotice();
        sysNotice.setType("1");
        sysNoticeService.findNotices(sysNotice);
    }

    @Test
    void testtwo(){
        log.trace("log.level.trace");
        log.debug("log.level.debug");
        log.info("log.level.info");
        log.warn("log.level.warn");
        log.error("log.level.error");
    }
}
